import { post } from '@/utils/request'

const BASE_URL = '/basic-api'
// 获取用户详细信息
export function getInfo() {
  return post(BASE_URL + '/auth/token')
}

// 退出方法
export function logout(account) {
  return post(BASE_URL + '/auth/logout', { account })
}

